package ${tableClass.packageName};

import lombok.Data;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * @author chens
 */
@Data
@Table(name = "`${tableClass.tableName}`")
public class ${tableClass.shortClassName}{

<#if tableClass.baseFields??>
    <#list tableClass.baseFields as field>
    /**
     * ${field.remarks ! ''}
     */
    <#if field.identity>
    @Id
    </#if>
    private ${field.shortTypeName} ${field.fieldName};
    </#list>
</#if>
}